//
//  BaseModel.swift
//  TXiOSDemoApp
//
//  Created by xicheng on 16/11/21.
//  Copyright © 2016年 xicheng. All rights reserved.
//

import UIKit

open class BaseModel: NSObject {

  open var code:Int = 0
  
  open var msg:String?
  
}

open class BaseListModel<MODEL:Any>:NSObject,YYModel{


  open var pageSize:Int = 0  // 页码大小
  
  open var pageIndex:Int = 0   // 页码，从1开始
  
  open var endRowIndex:Int = 0  // 最后一个rowIndex
  
  open var rowTotal:Int = 0  // row总数
  
  open var dataList:[MODEL]?
  

}
